package me.firstapp.common.module.shop;

import java.util.Date;

import me.firstapp.common.module.base.JsonBase;
import me.firstapp.common.utils.DateUtils;

public class JsonPointRechargeCard extends JsonBase {

	private static final long serialVersionUID = -5164874130318666202L;

	// 卡号
	private String cardNo;

	// 卡密
	private String password;

	// 积分值
	private Double pointValue;

	// 价格
	private Double price;

	// 使用状态,0为未使用，1为在售(正在销售中)，2为已售未充值(在后端将已售且未充值的改为此状态)，3为已售已充值
	private Integer useStatus;

	// 0为停用，1为启用（启用的时候设置开始日期，截止日期）
	private Integer status;

	// 截止日期，该日期以后无法使用
	private Date endDate = DateUtils.getDateFromTimeStamp("660672000000", "yyyy-MM-dd HH:mm:ss");

	// 开始日期，该日期以前无法使用
	private Date startDate = DateUtils.getDateFromTimeStamp("660672000000", "yyyy-MM-dd HH:mm:ss");

	// 添加时间
	private Date createTime;

	public String getCardNo() {
		return cardNo;
	}

	public void setCardNo(String cardNo) {
		this.cardNo = cardNo;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Double getPointValue() {
		return pointValue;
	}

	public void setPointValue(Double pointValue) {
		this.pointValue = pointValue;
	}

	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public Integer getUseStatus() {
		return useStatus;
	}

	public void setUseStatus(Integer useStatus) {
		this.useStatus = useStatus;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public Date getStartDate() {
		return startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

}
